﻿#region Usings

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

#endregion

namespace Rail.Net.Core.Model
{
    [Serializable]
    [DataContract]
    public class Ru : BaseIdentifiable
    {
        #region Primitive Properties

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Code { get; set; }

        [DataMember]
        public string CodeLong { get; set; }

        #endregion

        #region Navigation Properties

        [DataMember]
        public virtual ICollection<Station> Stations { get; set; }

        [DataMember]
        public virtual ICollection<RelationRu> RelationRus { get; set; }

        [DataMember]
        public virtual ICollection<PriceDistance> PriceDistances { get; set; }

        [DataMember]
        public virtual ICollection<PriceSerial> PriceSerials { get; set; }

        [DataMember]
        public virtual ICollection<VirtualRuTrainNumber> RuTrainNumbers { get; set; }

        [DataMember]
        public virtual ICollection<VirtualRuTrainNumber> VirtualRuTrainNumbers { get; set; }

        [DataMember]
        public virtual ICollection<Tariff> Tariffs { get; set; }

        #endregion
    }
}